package com.alm.token.ui.data.bean;

import com.alm.token.base.BaseAdapter;

import java.util.List;

public class ActivityIndexData {


    /**
     * msg : 成功
     * status : 0
     * data : [{"id":1,"title":"特使","img":"http://file.gufang.co/1e9d038c7e500a8f52bc4928956f521.png","detailImg":"http://file.gufang.co/3a860ddfd773dffde2556039948f164.png","price":15,"moneyType":1,"moneyTypeName":"ETH","moneyTypeImg":"http://file.gufang.co/eth_img.png","country":"国家","city":"城市","address":"测试的地址","status":1,"startTime":1560147843000,"endTime":1561271050000,"createTime":1559802255000,"updateTime":1560394565000,"content":"活动内容","contentEn":"activity content","readNum":0}]
     * success : true
     * timestamp : 1560396130182
     * total : null
     */

    private String msg;
    private int status;
    private boolean success;
    private long timestamp;
    private Object total;
    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean extends BaseAdapter.BaseItem {
        /**
         * id : 1
         * title : 特使
         * img : http://file.gufang.co/1e9d038c7e500a8f52bc4928956f521.png
         * detailImg : http://file.gufang.co/3a860ddfd773dffde2556039948f164.png
         * price : 15.0
         * moneyType : 1
         * moneyTypeName : ETH
         * moneyTypeImg : http://file.gufang.co/eth_img.png
         * country : 国家
         * city : 城市
         * address : 测试的地址
         * status : 1
         * startTime : 1560147843000
         * endTime : 1561271050000
         * createTime : 1559802255000
         * updateTime : 1560394565000
         * content : 活动内容
         * contentEn : activity content
         * readNum : 0
         * "money":358.0
         */

        private int id;
        private String title;
        private String img;
        private String detailImg;
        private double price;
        private int moneyType;
        private String moneyTypeName;
        private String moneyTypeImg;
        private String country;
        private String city;
        private String address;
        private int status;
        private long startTime;
        private long endTime;
        private long createTime;
        private long updateTime;
        private String content;
        private String contentEn;
        private int readNum;
        private double  money;

        public double getMoney() {
            return money;
        }

        public void setMoney(double money) {
            this.money = money;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getDetailImg() {
            return detailImg;
        }

        public void setDetailImg(String detailImg) {
            this.detailImg = detailImg;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public int getMoneyType() {
            return moneyType;
        }

        public void setMoneyType(int moneyType) {
            this.moneyType = moneyType;
        }

        public String getMoneyTypeName() {
            return moneyTypeName;
        }

        public void setMoneyTypeName(String moneyTypeName) {
            this.moneyTypeName = moneyTypeName;
        }

        public String getMoneyTypeImg() {
            return moneyTypeImg;
        }

        public void setMoneyTypeImg(String moneyTypeImg) {
            this.moneyTypeImg = moneyTypeImg;
        }

        public String getCountry() {
            return country;
        }

        public void setCountry(String country) {
            this.country = country;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public long getStartTime() {
            return startTime;
        }

        public void setStartTime(long startTime) {
            this.startTime = startTime;
        }

        public long getEndTime() {
            return endTime;
        }

        public void setEndTime(long endTime) {
            this.endTime = endTime;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public long getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(long updateTime) {
            this.updateTime = updateTime;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getContentEn() {
            return contentEn;
        }

        public void setContentEn(String contentEn) {
            this.contentEn = contentEn;
        }

        public int getReadNum() {
            return readNum;
        }

        public void setReadNum(int readNum) {
            this.readNum = readNum;
        }
    }
}
